package com._58city.spark.app.redis;

import java.io.Serializable;

/**
 * @author lihao
 * CPC Click的Spark运算Bean
 */
public class CpcClickModel implements Serializable{
	private static final long serialVersionUID = 7731262352605439425L;
	
	private long time;
	private int platform; //platform 维度
	private String busiLine; //业务线 
	private int cityType; //城市类型 1-直营 2-渠道
	private int city1Id; //一级城市ID
	private String city1Name; //一级城市名称
	private String cate2Id; //二级类型ID
    private String cate2Name; //二级类型名称
    private long pv; 
    private long cash;
    private long cost;
    private long custNum;
    
	public CpcClickModel() {
		super();
	}


	public long getTime() {
		return time;
	}


	public void setTime(long time) {
		this.time = time;
	}


	public int getPlatform() {
		return platform;
	}


	public void setPlatform(int platform) {
		this.platform = platform;
	}


	public String getBusiLine() {
		return busiLine;
	}


	public void setBusiLine(String busiLine) {
		this.busiLine = busiLine;
	}


	public int getCityType() {
		return cityType;
	}


	public void setCityType(int cityType) {
		this.cityType = cityType;
	}


	public int getCity1Id() {
		return city1Id;
	}


	public void setCity1Id(int city1Id) {
		this.city1Id = city1Id;
	}


	public String getCity1Name() {
		return city1Name;
	}


	public void setCity1Name(String city1Name) {
		this.city1Name = city1Name;
	}


	public String getCate2Id() {
		return cate2Id;
	}


	public void setCate2Id(String cate2Id) {
		this.cate2Id = cate2Id;
	}


	public String getCate2Name() {
		return cate2Name;
	}


	public void setCate2Name(String cate2Name) {
		this.cate2Name = cate2Name;
	}


	public long getPv() {
		return pv;
	}


	public void setPv(long pv) {
		this.pv = pv;
	}


	public long getCash() {
		return cash;
	}


	public void setCash(long cash) {
		this.cash = cash;
	}


	public long getCost() {
		return cost;
	}


	public void setCost(long cost) {
		this.cost = cost;
	}


	public long getCustNum() {
		return custNum;
	}


	public void setCustNum(long custNum) {
		this.custNum = custNum;
	}



	@Override
	public String toString() {
		return "CpcClickModel [time=" + time + ", platform=" + platform + ", "
				+ (busiLine != null ? "busiLine=" + busiLine + ", " : "")
				+ "cityType=" + cityType + ", city1Id=" + city1Id + ", "
				+ (city1Name != null ? "city1Name=" + city1Name + ", " : "")
				+ (cate2Id != null ? "cate2Id=" + cate2Id + ", " : "")
				+ (cate2Name != null ? "cate2Name=" + cate2Name + ", " : "")
				+ "pv=" + pv + ", cash=" + cash + ", cost=" + cost
				+ ", custNum=" + custNum + "]";
	}


	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
